﻿using System.ComponentModel;

namespace Domain.Enum
{
    /// <summary>
    /// 结果类的状态码枚举
    /// </summary>
    public enum ResultStatusCode
    {
        /// <summary>
        /// 请求成功
        /// </summary>
        [Description("请求成功")]
        SUCCESS=200,
        /// <summary>
        /// 操作失败
        /// </summary>
        [Description("操作失败")]
        HANDLEFAIL =-101,
        /// <summary>
        /// 参数错误
        /// </summary>
        [Description("参数错误")]
        PARAMSERROR =-102,
        /// <summary>
        /// 实体信息为空
        /// </summary>
        [Description("实体信息为空")]
        ENTITYNULL =-103,
    }
}